Action

An action providing a response to the RequestPermissionCallback.

Constructors

Link copied to clipboard
constructor(consumer: Consumer<RequestPermission.Response>)

Functions

Link copied to clipboard
open fun deny()
Notifies the browser that the requested permission should be denied.
Link copied to clipboard
open fun grant()
Notifies the browser that the requested permission should be granted.
Link copied to clipboard
Returns true if this action is closed.